/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.hotel.test.model;

import com.liferay.portal.model.ModelWrapper;

/**
 * <p>
 * This class is a wrapper for {@link RomType}.
 * </p>
 *
 * @author    Vien-IT
 * @see       RomType
 * @generated
 */
public class RomTypeWrapper implements RomType, ModelWrapper<RomType> {
	public RomTypeWrapper(RomType romType) {
		_romType = romType;
	}

	public Class<?> getModelClass() {
		return RomType.class;
	}

	public String getModelClassName() {
		return RomType.class.getName();
	}

	/**
	* Returns the primary key of this rom type.
	*
	* @return the primary key of this rom type
	*/
	public long getPrimaryKey() {
		return _romType.getPrimaryKey();
	}

	/**
	* Sets the primary key of this rom type.
	*
	* @param primaryKey the primary key of this rom type
	*/
	public void setPrimaryKey(long primaryKey) {
		_romType.setPrimaryKey(primaryKey);
	}

	/**
	* Returns the rom ID of this rom type.
	*
	* @return the rom ID of this rom type
	*/
	public long getRomId() {
		return _romType.getRomId();
	}

	/**
	* Sets the rom ID of this rom type.
	*
	* @param romId the rom ID of this rom type
	*/
	public void setRomId(long romId) {
		_romType.setRomId(romId);
	}

	/**
	* Returns the user ID of this rom type.
	*
	* @return the user ID of this rom type
	*/
	public long getUserId() {
		return _romType.getUserId();
	}

	/**
	* Sets the user ID of this rom type.
	*
	* @param userId the user ID of this rom type
	*/
	public void setUserId(long userId) {
		_romType.setUserId(userId);
	}

	/**
	* Returns the user uuid of this rom type.
	*
	* @return the user uuid of this rom type
	* @throws SystemException if a system exception occurred
	*/
	public java.lang.String getUserUuid()
		throws com.liferay.portal.kernel.exception.SystemException {
		return _romType.getUserUuid();
	}

	/**
	* Sets the user uuid of this rom type.
	*
	* @param userUuid the user uuid of this rom type
	*/
	public void setUserUuid(java.lang.String userUuid) {
		_romType.setUserUuid(userUuid);
	}

	/**
	* Returns the user name of this rom type.
	*
	* @return the user name of this rom type
	*/
	public java.lang.String getUserName() {
		return _romType.getUserName();
	}

	/**
	* Sets the user name of this rom type.
	*
	* @param userName the user name of this rom type
	*/
	public void setUserName(java.lang.String userName) {
		_romType.setUserName(userName);
	}

	/**
	* Returns the create date of this rom type.
	*
	* @return the create date of this rom type
	*/
	public java.util.Date getCreateDate() {
		return _romType.getCreateDate();
	}

	/**
	* Sets the create date of this rom type.
	*
	* @param createDate the create date of this rom type
	*/
	public void setCreateDate(java.util.Date createDate) {
		_romType.setCreateDate(createDate);
	}

	/**
	* Returns the modified date of this rom type.
	*
	* @return the modified date of this rom type
	*/
	public java.util.Date getModifiedDate() {
		return _romType.getModifiedDate();
	}

	/**
	* Sets the modified date of this rom type.
	*
	* @param modifiedDate the modified date of this rom type
	*/
	public void setModifiedDate(java.util.Date modifiedDate) {
		_romType.setModifiedDate(modifiedDate);
	}

	/**
	* Returns the room name of this rom type.
	*
	* @return the room name of this rom type
	*/
	public java.lang.String getRoomName() {
		return _romType.getRoomName();
	}

	/**
	* Sets the room name of this rom type.
	*
	* @param roomName the room name of this rom type
	*/
	public void setRoomName(java.lang.String roomName) {
		_romType.setRoomName(roomName);
	}

	/**
	* Returns the information of this rom type.
	*
	* @return the information of this rom type
	*/
	public java.lang.String getInformation() {
		return _romType.getInformation();
	}

	/**
	* Sets the information of this rom type.
	*
	* @param information the information of this rom type
	*/
	public void setInformation(java.lang.String information) {
		_romType.setInformation(information);
	}

	/**
	* Returns the number of guest of this rom type.
	*
	* @return the number of guest of this rom type
	*/
	public int getNumberOfGuest() {
		return _romType.getNumberOfGuest();
	}

	/**
	* Sets the number of guest of this rom type.
	*
	* @param numberOfGuest the number of guest of this rom type
	*/
	public void setNumberOfGuest(int numberOfGuest) {
		_romType.setNumberOfGuest(numberOfGuest);
	}

	/**
	* Returns the rice of this rom type.
	*
	* @return the rice of this rom type
	*/
	public java.lang.String getRice() {
		return _romType.getRice();
	}

	/**
	* Sets the rice of this rom type.
	*
	* @param rice the rice of this rom type
	*/
	public void setRice(java.lang.String rice) {
		_romType.setRice(rice);
	}

	/**
	* Returns the number of room of this rom type.
	*
	* @return the number of room of this rom type
	*/
	public int getNumberOfRoom() {
		return _romType.getNumberOfRoom();
	}

	/**
	* Sets the number of room of this rom type.
	*
	* @param numberOfRoom the number of room of this rom type
	*/
	public void setNumberOfRoom(int numberOfRoom) {
		_romType.setNumberOfRoom(numberOfRoom);
	}

	/**
	* Returns the hotel ID of this rom type.
	*
	* @return the hotel ID of this rom type
	*/
	public long getHotelId() {
		return _romType.getHotelId();
	}

	/**
	* Sets the hotel ID of this rom type.
	*
	* @param hotelId the hotel ID of this rom type
	*/
	public void setHotelId(long hotelId) {
		_romType.setHotelId(hotelId);
	}

	public boolean isNew() {
		return _romType.isNew();
	}

	public void setNew(boolean n) {
		_romType.setNew(n);
	}

	public boolean isCachedModel() {
		return _romType.isCachedModel();
	}

	public void setCachedModel(boolean cachedModel) {
		_romType.setCachedModel(cachedModel);
	}

	public boolean isEscapedModel() {
		return _romType.isEscapedModel();
	}

	public java.io.Serializable getPrimaryKeyObj() {
		return _romType.getPrimaryKeyObj();
	}

	public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
		_romType.setPrimaryKeyObj(primaryKeyObj);
	}

	public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
		return _romType.getExpandoBridge();
	}

	public void setExpandoBridgeAttributes(
		com.liferay.portal.service.ServiceContext serviceContext) {
		_romType.setExpandoBridgeAttributes(serviceContext);
	}

	@Override
	public java.lang.Object clone() {
		return new RomTypeWrapper((RomType)_romType.clone());
	}

	public int compareTo(com.hotel.test.model.RomType romType) {
		return _romType.compareTo(romType);
	}

	@Override
	public int hashCode() {
		return _romType.hashCode();
	}

	public com.liferay.portal.model.CacheModel<com.hotel.test.model.RomType> toCacheModel() {
		return _romType.toCacheModel();
	}

	public com.hotel.test.model.RomType toEscapedModel() {
		return new RomTypeWrapper(_romType.toEscapedModel());
	}

	@Override
	public java.lang.String toString() {
		return _romType.toString();
	}

	public java.lang.String toXmlString() {
		return _romType.toXmlString();
	}

	public void persist()
		throws com.liferay.portal.kernel.exception.SystemException {
		_romType.persist();
	}

	/**
	 * @deprecated Renamed to {@link #getWrappedModel}
	 */
	public RomType getWrappedRomType() {
		return _romType;
	}

	public RomType getWrappedModel() {
		return _romType;
	}

	public void resetOriginalValues() {
		_romType.resetOriginalValues();
	}

	private RomType _romType;
}